$(document).ready(function() {
	$("#frmLogin").validate({
		errorClass		: 'errorMessage',
		errorElement	: 'span',
		onfocusout		: false,
		onkeyup			: false,
		rules: {
			pUserName: {
				required: true
			},
			pPassWord_Type: {
				required: true
			}
		},
		messages: {
			pUserName: {
				required: LOGIN_USERNAME_REQUIRED
			},
			pPassWord_Type: {
				required: LOGIN_PASSWORD_REQUIRED
			}
		},
		submitHandler: function(form) {
			var strPassType = $('#pPassWord_Type').val();
			var strChap		= MD5(MD5(strGeneralCode) + MD5(strPassType));		
			$('#pPassWord').val(strChap);
			$('#pPassWord_Type').val('');
			form.submit();
		}
	});
});
/**

*/